﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

// <summary>
/// Author: IDEALAB
/// Created Date:14-Feb-2011
/// Description:Used to save the Common variables and functions.
/// </summary>
namespace EncircleFTM
{
    public partial class frmHelp : Form
    {
        /// <summary>
        /// Default constructor
        /// </summary>
        public frmHelp()
        {
            InitializeComponent();
        }

        /// <summary>
        /// Used to handle link cliekced button
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void lnkSupport_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            System.Diagnostics.Process process = new System.Diagnostics.Process();
            process.StartInfo = new System.Diagnostics.ProcessStartInfo("IEXPLORE", "http://mysurgicenter.net/contact-us/");
            process.Start();
        }

        /// <summary>
        /// Used to launch the help link
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void frmHelp_Load(object sender, EventArgs e)
        {
            lnkSupport.Links.Add(0, 40, "http://mysurgicenter.net/contact-us/");
        }

        /// <summary>
        /// Used to close the screen
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnFormClose_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
